package com.ym.soso.domain.param;

import com.ym.common.annotations.CustomConstraint;
import com.ym.soso.enums.AuditStateEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;


@Data
@ApiModel(value = "审核参数")
public class AuditParam {

    @ApiModelProperty("审核的ID")
    @NotNull
    private Long[] ids;

    @ApiModelProperty("审核状态 (01- 待审核 02-审核通过 03-审核未通过)")
    @NotEmpty
    @CustomConstraint(AuditStateEnum.class)
    private String auditState;

    @ApiModelProperty(notes = "审核说明")
    private String auditRemark;

}